//
//  CustomSearchEntranceView.h
//  Btpin
//
//  Created by Vic on 2019/3/16.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomSearchEntranceViewDelegate <NSObject>
@optional
- (void)customSearchEntranceViewSearchTap;
@end

NS_ASSUME_NONNULL_BEGIN

@interface CustomSearchEntranceView : UIView

@property (nonatomic, weak) id<CustomSearchEntranceViewDelegate>delegate;

@property (nonatomic, strong) UIView *bgView;

- (instancetype)initWithFrame:(CGRect)frame backgroundColor:(UIColor *)backgroundColor textColor:(UIColor *)textColor placeholer:(NSString *)placeholer target:(id)target;

- (void)resetFrame;

@end

NS_ASSUME_NONNULL_END
